package com.cjw.pojo.entity.livesquare;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author : cjw
 * @date: : 2022/2/12 12:00
 * @description : 计划实体
 */
@Data
@Table(name = "plan")
@ApiModel("计划实体")
public class Plan {
    @Id
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("标签id")
    private Long tagId;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("开始时间")
    private Date begin_time;

    @ApiModelProperty("结束时间")
    private Date end_time;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("添加时间")
    private Date addTime;

    @ApiModelProperty("状态")
    private Integer state;

    @ApiModelProperty("星期")
    private String days;
}
